// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import YDUI from 'vue-ydui'; /* 相当于import YDUI from 'vue-ydui/ydui.rem.js' */
import 'vue-ydui/dist/ydui.rem.css'
import VueWechatTitle from 'vue-wechat-title';
import htmlTopdf from './plugin/htmlTopdf'
Vue.config.productionTip = false;
Vue.prototype.router = router;
Vue.use(VueWechatTitle).use(YDUI).use(htmlTopdf)
import axios from 'axios';
axios.defaults.withCredentials=true;
Vue.prototype.$ajax = axios
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
